package CanvaWeb.CanvaWeb.pojo;

public class LoginResponse {
    private String status; // "success" 或 "error"
    private String message; // 返回信息
    private Long userId; // 用户ID
    private String username; // 用户名

    // 构造方法和 Getter/Setter
    public LoginResponse(String status, String message, Long userId, String username) {
        this.status = status;
        this.message = message;
        this.userId = userId;
        this.username = username;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
}
